<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script type="text/javascript" src="./js/angular.min.js"></script>
<style type="text/css">
.red{color:red;}
</style>
</head>
<body>
<div ng-app="myApp" ng-controller="myAppController">

</div>
<script type="text/javascript">
// module 第三个参数就是模块的配置
var myApp = angular.module("myApp",[],function(){
	console.log('module');
});
myApp.controller("myAppController",function($scope){
	 console.log("controller");
});
</script>
</body>
</html>